var mongoose = require("mongoose");

var itemSchema = new mongoose.Schema({
    price: { type: Number, default: 0 },
    durability: { type: Number, default: 100 },
    power: { type: Number, default: 0},
    dps: { type: Number },
    hit_ration: { type: Number }
});

var item = mongoose.model('Item', itemSchema);

module.exports = {
    Item: item
}